﻿/* Autoduel Game
 * CS4911 Senior Design Project
 * Fall 2010 Semester
 * Ian Axelrod, Liz Ha, Andrew Muldowney, Edward Futch
 */
namespace AutoduelClient.GameClient.Weapons
{
    /// <summary>
    /// Represents a weapon that is mounted on a car
    /// </summary>
    public class Weapon
    {
		#region Fields (6)
		// the cost of the weapon
        private int cost;
		// the rate of fire of the weapon
        private int rateOfFire;
		// the size of the weapon
        private int size;
		// the spaces taken up by the weapon
        private int spaces;
		// the weight of the weapon
        private int weight;

		// the name of the weapon
        private string name;
		#endregion

		#region Properties (6)
		/// <summary>
        /// Get/Set the cost of the weapon
        /// </summary>
        public int Cost
        {
            get { return cost; }
            set { cost = value; }
        }
		/// <summary>
        /// Get/Set the name of the weapon
        /// </summary>
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
		/// <summary>
        /// Get/Set the rate of fire of the weapon
        /// </summary>
        public int RateOfFire
        {
            get { return rateOfFire; }
            set { rateOfFire = value; }
        }
		/// <summary>
        /// Get/Set the size of the weapon
        /// </summary>
        public int Size
        {
            get { return size; }
            set { size = value; }
        }
		/// <summary>
        /// Get/Set the spaces taken up by the weapon
        /// </summary>
        public int Spaces
        {
            get { return spaces; }
            set { spaces = value; }
        }
		/// <summary>
        /// Get/Set the weight of the weapon
        /// </summary>
        public int Weight
        {
            get { return weight; }
            set { weight = value; }
        }
		#endregion
    }
}
